package cn.net.wangyixinwen.mvvm.vm;

import cn.net.wangyixinwen.bean.NewsBean;
import cn.net.wangyixinwen.event.SingleLiveEvent;

public class NewsDetailsVM extends BaseViewModel {

    public SingleLiveEvent<NewsBean> event = new SingleLiveEvent<>();

    public NewsBean newsBean;

    public void getNewsDetails() {
        event.setValue(newsBean);
    }
}
